<h1><%= @page_title ||= "E-Mail a lista: #{@list_name}" %></h1>
<% form_tag :action => 'send_to_list' do %>
<p>
    <label for="email_from">
        De:
        </label>
		<select name="email[from]">
			<option value="Sede Belgrano &lt;belgrano@uni-yoga.com.ar&gt;">Sede Belgrano</option>
			<option value="Instr. <%= current_user.instructor.nombre %> &lt;<%= current_user.email %>&gt;" selected><%=h current_user.instructor.nombre %></option>
		</select>
</p>
<p>
    <label for="email_recipient">
        A:
    </label><b><%= @list_name %> (<%=@cant_mails%>)</b> <%= link_to_function 'ver mails', %(Element.show('listado'))%>
	<br/>
	<div id="listado" style="display:none"><%= text_field 'email', 'bcc', :value=>@mail_list, :size=>"100"%><%= link_to_function 'ocultar', %(Element.hide('listado'))%></div>
</p>
<p>
    <label for="email_subject">
        Asunto:
    </label><%= text_field 'email', 'subject', :value=>@subject %>
</p>
<p>
    <%= text_area 'email', 'message',  :class=>'widgEditor', :value=>@message %>
</p>
<p>
<%= submit_tag "Enviar" %>
</p>
<%end %>